<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:a4j="http://richfaces.org/a4j"
	xmlns:rich="http://richfaces.org/rich"
	xml:lang="en" lang="en">
	
	<h:form>
		<h:panelGrid>
			<rich:panelMenu mode="ajax"  iconExpandedGroup="disc" 
																	   iconCollapsedGroup="disc" 
        															   iconExpandedTopGroup="chevronUp" 
        															   iconGroupTopPosition="right" 
        															   iconCollapsedTopGroup="chevronDown"
        															   width="200px">
        															   
				<rich:panelMenuGroup label="Cadastros">
			
					<rich:panelMenuItem label="Fabricantes" action="#{menu.atualizaPagina}">
						<f:param name="menuSelecionado" value="#{menu.FABRICANTE}"  />
					</rich:panelMenuItem>
					
					<rich:panelMenuItem label="Empresas" action="#{menu.atualizaPagina}">
						<f:param name="menuSelecionado" value="#{menu.EMPRESA}"  />
					</rich:panelMenuItem>
					
					<rich:panelMenuItem label="Produtos" action="#{menu.atualizaPagina}">
						<f:param name="menuSelecionado" value="#{menu.PRODUTO}"  />
					</rich:panelMenuItem>
			
				</rich:panelMenuGroup>
			
			</rich:panelMenu>
		</h:panelGrid>
	</h:form>
	
	
</html>
